package com.ruoyi.project.module.group.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 配置组表 config_group
 * 
 * @author ruoyi
 * @date 2018-11-08
 */
public class Group extends BaseEntity
{
	private static final long serialVersionUID = 1L;

    private Boolean pushUpdate;

	/** 配置组ID */
	private Long configGroupId;
	/** 组名称 */
	private String groupName;
	/** 描述 */
	private String description;
	/** 配置组类型 */
	private String groupType;
	/** 备注 */
	private String remark;
	/** 状态 */
	private String status;
	/** 是否修改 */
	private Integer modify;
	/** 最高版本号 */
	private Integer maxVersion;
	/** 当前版本号 */
	private Integer currentVersion;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	private String propertyPrefix;

	public Long getConfigGroupId() {
		return configGroupId;
	}

	public void setConfigGroupId(Long configGroupId) {
		this.configGroupId = configGroupId;
	}

	public String getPropertyPrefix() {
		return propertyPrefix;
	}

	public void setPropertyPrefix(String propertyPrefix) {
		this.propertyPrefix = propertyPrefix;
	}

	public void setGroupName(String groupName)
	{
		this.groupName = groupName;
	}

	public String getGroupName() 
	{
		return groupName;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setGroupType(String groupType) 
	{
		this.groupType = groupType;
	}

	public String getGroupType() 
	{
		return groupType;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setModify(Integer modify) 
	{
		this.modify = modify;
	}

	public Integer getModify() 
	{
		return modify;
	}
	public void setMaxVersion(Integer maxVersion) 
	{
		this.maxVersion = maxVersion;
	}

	public Integer getMaxVersion() 
	{
		return maxVersion;
	}
	public void setCurrentVersion(Integer currentVersion) 
	{
		this.currentVersion = currentVersion;
	}

	public Integer getCurrentVersion() 
	{
		return currentVersion;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configGroupId", getConfigGroupId())
            .append("groupName", getGroupName())
            .append("description", getDescription())
            .append("groupType", getGroupType())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("modify", getModify())
            .append("maxVersion", getMaxVersion())
            .append("currentVersion", getCurrentVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Boolean getPushUpdate() {
        return pushUpdate;
    }

    public void setPushUpdate(Boolean pushUpdate) {
        this.pushUpdate = pushUpdate;
    }
}
